package com.briup.model.service.impl;

import com.briup.model.entity.extend.TraningEx;
import com.briup.model.mapper.extend.ModelExtendMapper;
import com.briup.model.service.ITrainingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 模型训练服务实现类
 */
@Service
public class TrainingServiceImpl implements ITrainingService {
    @Autowired
    private ModelExtendMapper modelExtendMapper;

    @Override
    public List<TraningEx> findTrainingByModelId(Integer modelId) {
        List<TraningEx> traningExList = modelExtendMapper.findTraningExByModelId(modelId);
        return traningExList;
    }
}
